package main.nk.mygraph.pane;

import javafx.scene.control.Menu;
import javafx.scene.control.MenuBar;
import javafx.scene.control.MenuItem;

public class MyMenuBar {

    private MenuBar menuBar;

    private Menu[] menus;

    private MenuItem[] menuItems;

    public MyMenuBar(Menu menus){
        menuBar = new MenuBar();

        MenuItem item = new MenuItem();


        if(this.menus!=null){

        }else{
            throw new NullPointerException("菜单为空");
        }

    }

}
